package com.wiselink.naver.productcatalog;


import com.wiselink.naver.GetToken;
import com.wiselink.naver.productcatalog.response.Category;

import java.io.IOException;
import java.util.List;

public class Main {
    public static void main(String[] args) throws IOException {
        System.out.println("Hello, World!");
        String clientId = "clientId";
        String clientSecret = "clientSecret";
        String accountId = "accountId";
        List<Category> categories = NaverApiUtils.getCategories(GetToken.execute(
                        clientId,
                        clientSecret,
                        accountId).getToken(),
                true);
        System.out.println(categories);
    }
}